using System.Runtime.InteropServices;

namespace Recast
{
	public unsafe partial class RecastGlobal
	{
		[StructLayout(LayoutKind.Sequential)]
		public unsafe partial struct dtMeshHeader
		{
			public int magic;
			public int version;
			public int x;
			public int y;
			public int layer;
			public uint userId;
			public int polyCount;
			public int vertCount;
			public int maxLinkCount;
			public int detailMeshCount;
			public int detailVertCount;
			public int detailTriCount;
			public int bvNodeCount;
			public int offMeshConCount;
			public int offMeshBase;
			public float walkableHeight;
			public float walkableRadius;
			public float walkableClimb;
			public fixed float bmin[3];
			public fixed float bmax[3];
			public float bvQuantFactor;
		}
	}
}
